import datetime
import os


class SchedulerConfig(object):
    """
    任务调度配置
    """

    JOBS = [
        {
            'id': 'sysc_stock',
            'func': 'app.scheduler.taskscheduler:sysc_stock',
            'args': '',
            'trigger': {
                'type': 'cron',
                'day_of_week': "mon-Fri",
                'hour': '15',
                'minute': '5',
                'second': '0'
            }
        },
    ]

    SCHEDULER_API_ENABLED = True


def sysc_stock():
    """
    同步股票信息
    :return:
    """
    pass


if __name__ == "__main__":
    pass
